summaryrefslogtreecommitdiff
path: root/ui/routes/(app)/c/[conversation]/+page.svelte
diff options
context:
space:
mode:
authorojacobson <ojacobson@noreply.codeberg.org>2025-07-09 23:35:40 +0200
committerojacobson <ojacobson@noreply.codeberg.org>2025-07-09 23:35:40 +0200
commit223b39a57ef6ca6b8288f5a8645183c41301f411 (patch)
treeb748e16e4741f20e04d26f71631bd633cf09f1d3 /ui/routes/(app)/c/[conversation]/+page.svelte
parent948ecc916050a68c2e2ae7f0ddbc56a90db4785f (diff)
parent1b6028c71c6a16905dd7bf0dadbbc89a2a9475ad (diff)
Remove container divs for `MessageInput` and `CreateConversationForm`.
The styles for the `MessageInput` and `CreateConversationForm` components assumed that a container div would be present, and the components did not render as intended without that div. Therefore: the divs were "part of" the component in most of the ways that matter, not part of the context in which the component is used. It turns out that those divs aren't necessary or interesting anyways - they were targets for layout, but the same layout can be achieved without them. This change removes the divs entirely. Merges component-div-nesting into main.
Diffstat (limited to 'ui/routes/(app)/c/[conversation]/+page.svelte')
-rw-r--r--ui/routes/(app)/c/[conversation]/+page.svelte4
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/routes/(app)/c/[conversation]/+page.svelte b/ui/routes/(app)/c/[conversation]/+page.svelte
index e6cd845..24baa47 100644
--- a/ui/routes/(app)/c/[conversation]/+page.svelte
+++ b/ui/routes/(app)/c/[conversation]/+page.svelte
@@ -116,6 +116,4 @@
</MessageRun>
{/each}
</div>
-<div class="create-message">
- <MessageInput {sendMessage} />
-</div>
+<MessageInput {sendMessage} />